/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.tom.social.common.sitetool;

import pl.tom.social.common.types.PageEntryType;
import pl.tom.social.common.types.PageType;
import java.util.Collection;
import java.util.Date;
import pl.tom.social.dal.entity.SiteEntry;

/**
 *
 * @author Tom
 */
public interface ISiteTools {

	public String getCrawlerServer(String url);

	public PageType getPageType(String url, String blogUrl);

	public Date getBlogEntryDate(String html);

	public String getBlogEntryTitle(String url, String html);

	public String getBlogEntryBody(String html, PageType pageType);

	public Collection<String> filterLinks(Collection<String> links);

	public String getHtmlAsText(String html);

	public String[] getExcludes();

	public String[] getServers();

	public SiteEntry getEntryFromComment(String body);

	public PageEntryType getEntryType(String url);

	public Date getCommentDate(String body);

	public String getCommentAuthor(String body);
}
